projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e52ab
)
If time is available from Garmin, add that to waypoint in get_posn suboption.
author
robertl
<robertl>
Mon, 31 Mar 2008 02:01:36 +0000
(
02:01
+0000)
committer
robertl
<robertl>
Mon, 31 Mar 2008 02:01:36 +0000
(
02:01
+0000)
garmin.c
patch
|
blob
|
history
diff --git
a/garmin.c
b/garmin.c
index 7048bd9b067d4fed2e9eff9a8bb2361bd9ee07a5..81a95675bf4c6de67f2b878df414ccf36989188f 100644
(file)
--- a/
garmin.c
+++ b/
garmin.c
@@
-265,6
+265,8
@@
waypt_read(void)
wpt->latitude = gps_save_lat;
wpt->longitude = gps_save_lon;
wpt->shortname = xstrdup("Position");
+ if (gps_save_time)
+ wpt->creation_time = gps_save_time;
waypt_add(wpt);
return;
}